view,
image {
    // outline: 1rpx solid red;
}

.myincome-box {

    .head {
        width: 100%;
        position: relative;
        z-index: 1;

        .img-bg {
            width: 750rpx;
            height: 322rpx;
            display: block;
            position: relative;
            z-index: 1;
            left: 0;
            top: 0;
        }

        .user-info {
            position: absolute;
            z-index: 2;
            left: 88rpx;
            top: 30rpx;
            display: flex;
            align-items: center;

            .avatar {
                width: 148rpx;
                height: 148rpx;
                border-radius: 148rpx;
                overflow: hidden;
                padding: 12rpx;
                margin-right: 40rpx;
                background: rgba(255, 135, 135, .09);

                .img-avatar {
                    width: 100%;
                    height: 100%;
                    display: block;
                    border-radius: 100%;
                }
            }

            .user-name {
                color: white;
                font-size: 42rpx;
                font-weight: 600;
                width: 440rpx;
                overflow: hidden;
                text-overflow: ellipsis;
                word-break: break-all;
                white-space: nowrap;
            }
        }
    }

    .myincome-info {
        position: relative;
        z-index: 2;
        border-radius: 20rpx;
        background: white;
        width: 690rpx;
        height: 304rpx;
        box-shadow: 0rpx 14rpx 46rpx 0rpx rgba(0, 0, 0, 0.04);
        margin: 0 auto;
        top: -50rpx;
        padding: 0 40rpx;

        .earnings {
            padding: 30rpx 0 30rpx 0;
            border-bottom: 2rpx solid rgba(151, 151, 151, .13);

            .txt1 {
                font-size: 48rpx;
                color: #333333;
                font-weight: 600;
                display: inline-block;
                margin-left: 30rpx;
            }

            .txt2 {
                // font-size: 28rpx;
                // color: #666666;
                display: inline-block;
                width: 206rpx;
                height: 66rpx;
                background: #F1AF86;
                color: white;
                font-size: 28rpx;
                text-align: center;
                line-height: 66rpx;
                margin-left: -40rpx;
                border-radius: 0 66rpx 66rpx 0;
            }
        }

        .type-earnings {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 30rpx 0 0;

            .type-item {
                text-align: center;

                .type-name {
                    font-size: 28rpx;
                    color: #666666;
                    margin-bottom: 20rpx;
                }

                .type-num {
                    color: #333333;
                    font-size: 30rpx;
                    font-weight: 600;
                }
            }
        }
    }

    .on-the-way {
        position: relative;
        left: 0;
        width: 690rpx;
        height: 90rpx;
        margin: 30rpx auto 0;
        top: -50rpx;
        background: white;
        z-index: 2;
        box-shadow: 0rpx 14rpx 46rpx 0rpx rgba(0, 0, 0, 0.04);
        display: flex;
        align-items: center;
        padding: 0 40rpx;
        font-size: 28rpx;
        color: #333333;
        font-weight: 600;
        border-radius: 20rpx;
    }

    .withdrawal {
        position: relative;
        left: 0;
        width: 690rpx;
        height: 148rpx;
        margin: 30rpx auto 0;
        top: -50rpx;

        .with-bg {
            width: 690rpx;
            height: 148rpx;
            display: block;
            position: relative;
            z-index: 1;
        }

        .drawal {
            width: 690rpx;
            height: 148rpx;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 42rpx;

            .num-bx {
                display: flex;
                align-items: center;

                .txt3 {
                    font-size: 28rpx;
                    color: #F9FBFF;
                    font-weight: 600;
                    margin-right: 36rpx;
                }

                .amount {
                    .txt1 {
                        font-size: 60rpx;
                        font-weight: 600;
                        color: #F9FBFF;
                        display: inline-block;
                        margin-right: 10rpx;
                    }

                    .txt2 {
                        color: #F9FBFF;
                        font-size: 24rpx;
                        font-weight: 600;
                    }
                }
            }

            .get-drawal {
                font-size: 32rpx;
                color: #F1AF86;
                font-size: 600;
                margin-top: -10rpx;
            }
        }
    }

    .today-income {
        position: relative;
        top: -50rpx;
        margin: 30rpx auto 0;
        width: 690rpx;
        // height: 298rpx;
        border-radius: 20rpx;
        background: white;
        box-shadow: 0rpx 14rpx 46rpx 0rpx rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
        padding: 0 0 40rpx 0;

        .today {
            display: flex;
            align-items: center;
            padding: 34rpx 0;

            .left {
                width: 206rpx;
                height: 66rpx;
                background: #F1AF86;
                border-radius: 0 200rpx 200rpx 0;
                color: white;
                font-size: 28rpx;
                text-align: center;
                line-height: 66rpx;
                margin-right: 30rpx;
            }

            .right {
                .txt1 {
                    display: inline-block;
                    margin-right: 6rpx;
                    font-size: 60rpx;
                    color: #333333;
                    font-weight: 600;
                }

                .txt2 {
                    font-size: 24rpx;
                    color: #333333;
                }
            }
        }

        .today-type {
            padding: 0 44rpx;

            .types {
                padding: 20rpx 30rpx 0;
                border-top: 2rpx solid rgba(151, 151, 151, .13);
                ;
                display: flex;
                align-items: center;
                justify-content: space-between;

                .type {
                    text-align: center;

                    .txt1 {
                        color: #666666;
                        font-size: 28rpx;
                        margin-bottom: 10rpx;
                    }

                    .txt2 {
                        font-size: 42rpx;
                        color: #333333;
                        font-weight: 600;
                    }
                }
            }
        }

        .level-ct {
            padding: 0 40rpx;
            .txt1 {
                font-size: 30rpx;
                font-weight: 500;
                margin-bottom: 20rpx;
            }
    
            .progress-bar {
                width: 100%;
                height: 10rpx;
                border-radius: 10rpx;
                background: #E7E7E7;
                margin-top: 30rpx;
                margin-bottom: 30rpx;
                
                .bar-in {
                    width: 25%;
                    height: 10rpx;
                    border-radius: 10rpx;
                    background: linear-gradient(157deg, #FFC78B 0%, #E98247 100%);
                }
            }
    
            .num {
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-size: 30rpx;
                font-weight: 500;
                width: 100%;
            }
        }
    }

    .ads {
        position: relative;
        top: -50rpx;
        margin: 30rpx auto 0;
        width: 690rpx;
        height: 170rpx;
        border-radius: 20rpx;
        box-shadow: 0rpx 14rpx 46rpx 0rpx rgba(0, 0, 0, 0.04);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 30rpx 50rpx;

        .ad-item {
            margin: 0;
            padding: 0;
            background: transparent;
            font-weight: normal;

            .ad-ico {
                width: 60rpx;
                height: 60rpx;
                display: block;
                margin: 0 auto 16rpx;
            }

            .ad-txt {
                font-size: 24rpx;
                color: #666666;
            }

        }
    }
}

.btn-opacity {
    position: absolute;
    width: 96rpx !important;
    height: 108rpx;
    background: transparent;
    left: 50rpx;
    top: 30rpx;
    z-index: 2;
    margin: 0;
    padding: 0;
}

view {
    // outline:  1rpx solid red;
}